home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 September
/
CHIP NET Rehberi Eylül 1998.iso
/
ftp
/
ezftch15
/
Usage.txt
< prev
Wrap
Text File
|
1998-03-21
|
8KB
|
160 lines
================================================================
Important usage notes for EasyFetcher 1.5b
================================================================
For simple use, just type in the document's URL (together
with its protocol specification - ftp:// or http://), and hit
Enter. Note that "document" can refer to any file that exists
on the server, including HTML (Web) files. Here are examples
of the simple usage (all URLs are fictional):
http://www.zipware.com/windows/32bit/utils/bla-bla.zip
ftp://ftp.gamehaven.com/pub/win2000/games/ripper.exe
If you specify an empty path on a Web server (you can't use
an empty path for FTP), EasyFetcher will retrieve the default
document for that directory (usually "index.html" or
"default.htm"). For example, "http://www.zdnet.com/" will get
you the default HTML document for www.zdnet.com (without the
inline graphics, Java applets, and other external files,
of course); and "www.hotshots.com/LookeeHere/" will return
the default document for the "/LookeeHere" directory at
www.hotshots.com. Just be sure to add the trailing slash
to the name of the directory, otherwise EasyFetcher will
look for a document named "LookeeHere" in the root directory
of the server, which doesn't exist.
============================================================
---- Protocols ----
Only the HTTP and FTP protocols are supported.
If the server's name starts with "www" (e.g. www.byte.com),
or the protocol is explicitly specified as http://, EasyFetcher
communicates with the server using HTTP. Otherwise, if no
protocol is specified (and server's name doesn't start with
"www"), FTP is assumed. So if you need to get a file from an
FTP server that happens to use "www" as the first three letters
of its name, be sure to include ftp:// before its name.
Numerical server addresses are also accepted ("198.56.28.101").
HTTP URLs can use redirection, for example:
http://www.booknet.com/cgi-bin/hotbooks/info.pl?code=000Z8N
============================================================
---- Usernames and passwords ----
Usernames and passwords can be used with FTP servers. They
have to be included in the URL in the following form:
ftp://your_username:your_password@servername.com
That is, username followed by colon (:), password, the at sign
(@), and the rest of the path, including server, directories,
and the file. For example, if you have a username "Jackie"
with the password "TakeAguess" on the "ftp.fileserver.edu"
server, and you need a file that is only accessible through
that username, URL will look like this (ftp:// is optional):
Jackie:TakeAguess@ftp.fileserver.edu/Jackie/Stuff/dolls.zip
Note that you cannot specify a password without supplying a
username, but you can supply a username without a password
(in the form "username@servername.com"), in which case the
default will be used. The defaults are:
username: anonymous
password: guest@somewhere.com
============================================================
---- Ports ----
You can specify a port to be used to connect to server.
The port has to be supplied after the server name (separated
by a colon ":") and before the path, like this (port 85):
http://www.hitme.com:85/software/Internet/zipper.zip
Keep in mind that supplying a port doesn't change the
specified (or assumed, if none specified) protocol.
To sum up, here are all the elements of a URL:
http://users_name:mypassword@www.server.com:16080/directories/file.ext
^protocol^^username^ ^password^ ^server name ^ port ^-- path --^ ^ file ^
============================================================
---- Command-line arguments ----
EasyFetcher can be used with command-line options.
Here are the available switches:
-s:<complete URL of the source file>
-d:<destination file>
-q (quiet option)
-l:<log file for status information>
-o (open the file after download)
All switches can be upper or lower case and in any order.
Do not use quotes in any of the options. The URL after the
-s: switch designates the exact same URL you would enter
in EasyFetcher's interactive mode, so the entire discussion
above (including usernames, passwords and ports) applies to
command-line mode also. This is the only required switch for
command-line mode. If no destination file (-d:) is specified,
the file will be saved in EasyFetcher's program folder with
the same name as in the URL. For example, if you invoke the
program like this:
ezfetch -s:http://www.sounds.com/download/sizzle.zip
the file "sizzle.zip" will be saved in the folder where
you placed EasyFetcher's program files. Note that you will
not be prompted for a filename.
The filename after the -d: option can refer to a file on
a remote computer on your network.
For example, you can run the above command like this:
ezfetch -s:http://www.sounds.com/download/sizzle.zip
-d:\\bill\ddrive\apps\sizzle.zip
or like this (if the drive is mapped to K:):
ezfetch -s:http://www.sounds.com/download/sizzle.zip
-d:k:\apps\sizzle.zip
In command-line mode, if a file already exists by that name
in destination folder, it will be overwritten without warning.
It's up to you to make sure the name is unique.
If the "quiet" option (-q) is specified, EasyFetcher's window
will not appear and there will be no user interaction, even
when errors occur. (In unregistered version, you will still
get shareware messages, even in "quiet" mode.) To have greater
control over the transfer you can specify a log file (-l:)
with the "quiet" option to keep track of the download. Note
that the logfile is not available unless -q is also entered.
Again, if the file already exists it will be overwritten,
and if no path (drive and folders) is specified, the file will
be saved in EasyFetcher's program folder.
Specifying the -o switch will open the file after the transfer
is complete (same as checking the 'Open the file after download'
checkbox in interactive mode).
Considering what was said, you are advised to provide the full
paths both to your destination file and to the log file after
making sure the files don't already exist. Here's an example:
ezfetch -s:ftp.cdrom.com/pub/windows95/index.txt
-d:c:\download\cdrom-index.txt -q -l:c:\download\cdrom.log
which means: connect to the FTP server "ftp.cdrom.com", fetch
the file "index.txt" located in "/pub/windows95", save it on
my C: drive in "download" folder by the name "cdrom-index.txt"
while doing it all silently and logging the results to file
"cdrom.log" in the same folder.
============================================================
---- Miscellaneous ----
Checking the 'Open the file after download' checkbox at
any time before the download is complete will open the
file (after the transfer is finished) in its associated
application. For example, if you have WinZip installed
on your machine and you downloaded a ZIP file, it will
be opened in WinZip. Executable files (with the .EXE,
.BAT, .COM extensions) will be simply executed. "Opening"
executables automatically is strongly NOT recommended,
unless you are absolutely sure of the file's origin
and purpose.
Estimated time left that is displayed while the file is
being downloaded is based on the size of the file and
the current transfer rate. If the size could not be
determined, this statistic is not available.
If you get a message saying that a directory or a file does
not exist on the server, make sure you use the correct case
of letters in their names. Unix servers are case-sensitive.
Web sites requiring authenticated login, Secure HTTP
(https://), or SSL encryption are not supported.
Finally, there is a great variety of servers on the Net.
Some of them are short and to-the-point in their replies,
and some are talkative. Although EasyFetcher was tested
with many types of servers and under different conditions,
there is still a chance of an error when logging into a
server (this can also happen due to the server being taken
down for maintenance). If you experience this, you should
always retry, either immediately, or a little later.
And when nothing seems to work, try restarting your
Internet connection and EasyFetcher.